wayland: Be more careful when destroying windows
authorMatthias Clasen <mclasen@redhat.com>
Fri, 28 Aug 2015 17:55:23 +0000 (13:55 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 28 Aug 2015 20:15:26 +0000 (16:15 -0400)
commit0dc6726f021cc28413943cf0686063c4cbbe1d27
treed9af468e6cdb420e9e5e14fe4c786f10d0664a80
parentde684dac1bbf795a7482b3330ba231c581565fbe
wayland: Be more careful when destroying windows

We call gdk_wayland_window_hide_surface when the window gets
destroyed, and in this case, the frame clock might not exist
anymore.

This was showing up in the displayclose testcase.
gdk/wayland/gdkwindow-wayland.c